using System;
using System.Data;
using GoodsInvoicing.Model.Menu;
using System.Collections.Generic;

namespace GoodsInvoicing.BLL.Service
{
    /// <summary>
    /// 表[GI_Menu]的Service接口
    /// </summary>
    public interface IGI_MenuService : IService<GI_Menu, int>
    {
        GI_Menu Get(int id);
        IList<GI_Menu> GetAll();
        int Save(GI_Menu _Menu);
        void Update(GI_Menu _Menu);
        void Delete(GI_Menu _Menu);

        IDictionary<GI_Menu, IList<GI_Menu>> GetMenus(string loginName);
    }
}
